import http from '../../utils/request'

// 根据ID查询详细 wid
export const GetInfo = params => {
  return http.request({
    url: `/house/tAppointment/info`,
    method: 'get',
    params
  })
}
// 获取我的预约列表
export const GetList = params => {
  return http.request({
    url: `/house/tAppointment/list`,
    method: 'get',
    params
  })
}
// 新增预约
export const Save = data => {
  return http.request({
    url: `/house/tAppointment/save`,
    method: 'post',
    data: JSON.stringify(data)
  })
}